Skip to content

ci: extend installer testing - #260

Merged
bitwalker merged 6 commits into
nextfrom
tomasarrachea-test-installer
Sep 11, 2026
Merged

ci: extend installer testing#260
bitwalker merged 6 commits into
nextfrom
tomasarrachea-test-installer

Conversation

@TomasArrachea

@TomasArrachea TomasArrachea commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

Closes #255.

This PR includes changes to:

  • Route installer.sh as a release asset
  • Run installer.yml on changes to release.yml
  • Add a step to installer.yml testing all the opt-out flags (this was not being tested and cargo fallback was broken)
  • Fix the cargo fallback in bin/installer.sh, which read $0 (the script path) instead of $1 (the requested version)
  • Add a smoke job to release.yml that downloads the installer script from the just published release and installs that release with it

@TomasArrachea
TomasArrachea force-pushed the tomasarrachea-test-installer branch from 357b60f to 34666d0 Compare September 8, 2026 15:37
@TomasArrachea
TomasArrachea marked this pull request as ready for review September 8, 2026 15:37
# Install from the release that was just published, the way the README tells users to.
# This is the only check that reaches the installer through its published asset URL, and
# the only one that runs against the artifacts of this release rather than the previous one.
smoke:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would run this as a separate workflow entirely (I'd literally just call it smoke.yml), triggered when a release is published (not when created as a draft, but when it is published from draft), and maybe when the manifest gets published as well.

Running this as part of the release workflow means that the whole workflow will be considered failed if this smoke job fails for any reason (even spurious ones), however the reality is that by the point it runs, the release itself succeeded and was published both to crates.io, and to GitHub (the draft release is published and made immutable). At that point, any issues with the released artifacts will require a new release to address - basically, it isn't actionable at that point.

Using a separate workflow means we can run it not only upon releases being published without interfering with the release workflow itself; but when the manifest changes as well, and run a broader set of smoke tests that way.

Comment thread .github/workflows/smoke.yml Fixed
@TomasArrachea
TomasArrachea force-pushed the tomasarrachea-test-installer branch from 06be6e2 to a2595df Compare September 10, 2026 19:59
@bitwalker
bitwalker merged commit 71481c8 into next Sep 11, 2026
29 checks passed
@bitwalker
bitwalker deleted the tomasarrachea-test-installer branch September 11, 2026 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

installer: Cargo fallback fails before initialization on non-prebuilt hosts

3 participants